package top.wangjiu.product.spring;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import top.wangjiu.reactive.rpc.autoconfigure.server.EnableRpcServer;

/**
 * 启动RpcServer,并使用RpcServer作为主容器
 */
@SpringBootApplication
@EnableRpcServer(mainServer = true)
public class ProductApplication {

    public static void main(String[] args) {
        SpringApplication.run(ProductApplication.class, args);
    }

}
